package com.bean;

import java.io.Serializable;

public class Cinema implements Serializable {

    private Integer id;
    private String hall;
    private Integer seat;
    private Integer type;
    private Integer state;
    private Integer spare;

    private Films films;

    public Cinema() {
    }

    public Cinema(String hall) {
        this.hall = hall;
    }

    public Cinema(String hall, Integer seat, Integer type, Integer state, Integer spare) {
        this.hall = hall;
        this.seat = seat;
        this.type = type;
        this.state = state;
        this.spare = spare;
    }

    public Cinema(Integer id, String hall, Integer seat, Integer type, Integer state, Integer spare) {
        this.id = id;
        this.hall = hall;
        this.seat = seat;
        this.type = type;
        this.state = state;
        this.spare = spare;
    }

    @Override
    public String toString() {
        return "Cinema{" +
                "id=" + id +
                ", hall='" + hall + '\'' +
                ", seat=" + seat +
                ", type=" + type +
                ", state=" + state +
                ", spare=" + spare +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHall() {
        return hall;
    }

    public void setHall(String hall) {
        this.hall = hall;
    }

    public Integer getSeat() {
        return seat;
    }

    public void setSeat(Integer seat) {
        this.seat = seat;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getSpare() {
        return spare;
    }

    public void setSpare(Integer spare) {
        this.spare = spare;
    }

    public Films getFilms() {
        return films;
    }

    public void setFilms(Films films) {
        this.films = films;
    }
}
